package com.zhixiang.xaec.entity.safebase.dangeroussource;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.zhixiang.xaec.entity.BaseEntity;
/**
 * 
 * @author guopan 
 * @version 2016-12-20
 * 
 */
@Comment("危险源档案")
@Table(name = "BASE_RiskSourceFile")
@Entity
public class RiskSourceFile extends BaseEntity{

	@Comment("危险源编号")
	@Column(length = 200)
	private  String riskSourceNo;
	
	@Comment("危险源名称")
	@Column(length = 200)
	private  String riskSourceName;
	
	@Comment("危险源类型：物理性危害因素，化学性危害因素，生物性危害因素，生理性危害因素，人的行为性危害因素，其他危害因素")

//	@ManyToOne
//	@JoinColumn(name = "type")
	@Column(name="[type]",length = 200)
	private  String type;
	
	@Comment("危险源等级")
//	@ManyToOne
//	@JoinColumn(name = "level")
	@Column(name="[level]",length = 200)
	private  String level;
	
	@Comment("作业活动")
	@Column(length = 1000)
	private  String activity;
	
	@Comment("责任人/部门")
	@Column(length = 200)
	private  String responsibilityUnit;
	
	@Comment("发现地点")
	@Column(length = 1000)
	private  String discoverySite;
	
	@Comment("是非判断")
	@Column(length = 200)
	private  String judgment;
	
	@Comment("危险源评价")
	@Column(length = 1000)
	private  String assessment;
	
	@Comment("D值")
	@Column(length = 200)
	private  String valueD;
	
	public String getRiskSourceNo() {
		return riskSourceNo;
	}
	public void setRiskSourceNo(String riskSourceNo) {
		this.riskSourceNo = riskSourceNo;
	}
	public String getRiskSourceName() {
		return riskSourceName;
	}
	public void setRiskSourceName(String riskSourceName) {
		this.riskSourceName = riskSourceName;
	}
	public String getActivity() {
		return activity;
	}
	public void setActivity(String activity) {
		this.activity = activity;
	}
	public String getResponsibilityUnit() {
		return responsibilityUnit;
	}
	public void setResponsibilityUnit(String responsibilityUnit) {
		this.responsibilityUnit = responsibilityUnit;
	}
	public String getDiscoverySite() {
		return discoverySite;
	}
	public void setDiscoverySite(String discoverySite) {
		this.discoverySite = discoverySite;
	}
	public String getJudgment() {
		return judgment;
	}
	public void setJudgment(String judgment) {
		this.judgment = judgment;
	}
	public String getAssessment() {
		return assessment;
	}
	public void setAssessment(String assessment) {
		this.assessment = assessment;
	}
	public String getValueD() {
		return valueD;
	}
	public void setValueD(String valueD) {
		this.valueD = valueD;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	
}
